#ifndef LOCALTIMEPLAYER_H
#define LOCALTIMEPLAYER_H

#include "player.h"

#include <QLabel>
#include <QTimer>

class LocalTimePlayer : public QLabel, public Player
{
	Q_OBJECT
public:
    LocalTimePlayer();

	bool playOn(const ValuePacket &values, QWidget *target, QString *errorStr);
	PlayerType type() const;
	void dispose();
	void hideMe();
	void showMe();
signals:
	void deleteMe();
private slots:
	void updateTime();
private:
	QTimer m_UpdateTimer;
};

#endif // LOCALTIMEPLAYER_H
